<form action="" class="navbuttons">
	<input type="hidden" name="mode" value="<tmpl_var name=mode>">
	<input type="hidden" name="offset" value="1">
	<input type="hidden" name="sort_field" value="<tmpl_var name=sort_field>"> 
	<tmpl_if name="string">
		<input type="hidden" name="string" value="<tmpl_var name=string>"> 
	</tmpl_if>
	<input type="submit" 
	<tmpl_unless name="previous_page">
		disabled
	</tmpl_unless>
	value="&#171; first page">
</form>
<form action="" class="navbuttons">
	<input type="hidden" name="mode" value="<tmpl_var name=mode>">
	<input type="hidden" name="offset" value="<tmpl_var name=previous_page>">
	<input type="hidden" name="sort_field" value="<tmpl_var name=sort_field>"> 
	<tmpl_if name="string">
		<input type="hidden" name="string" value="<tmpl_var name=string>"> 
	</tmpl_if>
	<input type="submit" 
	<tmpl_unless name="previous_page">
		disabled
	</tmpl_unless>
	value="&lt; previous page">
</form>
<form action="" class="navbuttons">
	<input type="hidden" name="mode" value="<tmpl_var name=mode>">
	<input type="hidden" name="offset" value="<tmpl_var name=next_page>">
	<input type="hidden" name="sort_field" value="<tmpl_var name=sort_field>"> 
	<tmpl_if name="string">
		<input type="hidden" name="string" value="<tmpl_var name=string>"> 
	</tmpl_if>
	<input type="submit" 
	<tmpl_unless name="next_page">
		disabled
	</tmpl_unless>
	value="next page &gt;">
</form>
<form action="" class="navbuttons">
	<input type="hidden" name="mode" value="<tmpl_var name=mode>">
	<input type="hidden" name="offset" value="<tmpl_var name=last_page>">
	<input type="hidden" name="sort_field" value="<tmpl_var name=sort_field>"> 
	<tmpl_if name="string">
		<input type="hidden" name="string" value="<tmpl_var name=string>"> 
	</tmpl_if>
	<input type="submit" 
	<tmpl_unless name="next_page">
		disabled
	</tmpl_unless>
	value="last page &#187;">
</form>
